package dbLayer;

import java.util.ArrayList;

import modelLayer.*;

public interface IFDBEquipment {

	public ArrayList<Equipment> getAllEquipment(boolean retriveAssociation);
	public Equipment findEquipment(int id, boolean retriveAssociation);
	public Equipment searchEquipmentOnName(String name, boolean retriveAssociation);
	
	public int insert(Equipment equipment) throws Exception;
	public int update(Equipment equipment);
	public int delete(int id);
}
